package org.nobody.mallb2c.mallorder.feign;

import org.nobody.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 3489309323@qq.com
 * @create 2020-09-22-16:04
 */
@FeignClient("mall-product")
public interface ProductFeignService {
  @GetMapping("/mallproduct/spuinfo/skuId/{id}")
  public R getSpuInfoBySkuId(@PathVariable("id") Long skuId);
}
